package com.chatplus.application.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单备注
 *
 * @author chj
 * @date 2024/1/16
 **/
@JsonIgnoreProperties(ignoreUnknown = true)
public class OrderRemarkDto implements Serializable {


    /**
     * days : 30
     * calls : 0
     * img_calls : 0
     * name : 会员1个月
     * price : 19.9
     * discount : 10
     */

    @JsonProperty("days")
    private int days;
    @JsonProperty("calls")
    private int calls;
    @JsonProperty("img_calls")
    private int imgCalls;
    @JsonProperty("name")
    private String name;
    @JsonProperty("price")
    private BigDecimal price;
    @JsonProperty("discount")
    private BigDecimal discount;

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public int getCalls() {
        return calls;
    }

    public void setCalls(int calls) {
        this.calls = calls;
    }

    public int getImgCalls() {
        return imgCalls;
    }

    public void setImgCalls(int imgCalls) {
        this.imgCalls = imgCalls;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }
}
